<?php
/*
 * This file is part of shadon package.
 *
 * (c) shadon.org
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Shadon\CloudPrint\Exceptions;

/**
 * 打印异常类
 *
 * Class Exception
 */
class Exception extends \Exception
{
    // 缺少 deviceId 参数
    const EMPTY_DEVICE_ID = 'Missing deviceId parameter';
    // 缺少 cusOrderId 参数
    const EMPTY_CUS_ORDER_ID = 'Missing cusOrderId parameter';
    // 缺少必要参数
    const EMPTY_PARAMETER = 'Lack of necessary parameters';
    // 类型错误
    const CATEGORY_ERROR = 'Category error';
}